<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<#include "../common/head.ftl">

<body class="gray-bg">
<#include "../common/modal.ftl">

<#include "../common/delete.ftl">

<#include "../common/entity.ftl">

<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content" id="search">
                    <div class="search-box">
                        会议名称：
                        <div><input type="search" name="title"></div>
                        <button class='btn btn-search'>搜索</button>
                    </div>
                    <div class='hr'></div>
                    <div class='top_row'>
                        <div class="pull-right page">
                            每页显示:<span class='page_active'>10</span><span>20</span><span>30</span><span>40</span><span>50</span>
                        </div>
                    </div>
                    <table class="table table-striped table-bordered table-hover dataTables-example">
                        <thead>
                        <tr>
                            <th name="id" style="display:none;">id</th>
                            <th name="title">会议名称</th>
                            <th name="meetingStatus">会议状态</th>
                            <th name="">功能选项</th>
                        </tr>
                        </thead>
                        <tbody></tbody>
                    </table>
                    <div class="paging"></div>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="${basePath}/js/jquery.min.js?v=2.1.4"></script>
<script src="${basePath}/js/page.js"></script>
<script src="${basePath}/js/common.js"></script>
<script src="${basePath}/js/bootstrap.min.js?v=3.3.6"></script>
<script src="${basePath}/js/bootstrap-datepicker.min.js"></script>
<script src="${basePath}/js/bootstrap-datepicker.zh-CN.min.js"></script>

<script type="text/javascript">


    var table = initTable("${basePath}/recorder/findStayOpenFileRecordList", "search", $("table"), "paging");
    EditEntity("", "", $("table"), null, null, null, null,
            "${basePath}/function/deleteFileRecordById",
            table.search);
    $("table").on("click", "tbody tr td a:first-child", function () {
        var id = $(this).parents("tr").find("td:first").text();
        window.location.href = "${basePath}/recorder/showFileRecord/" + id;
    })
    var interval = setInterval(function () {
        $("table tbody tr td a:first-child").attr("title", "开始会议");
        $("table tbody tr td a:first-child").removeClass("fa fa-edit").addClass("fa fa-sign-in");
    }, 100);

</script>

</body>
</html>